home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7276 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: hubcap.clemson.edu!hubcap!mjs
  2. From: mjs@hubcap.clemson.edu (M. J. Saltzman)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Matrix Multiplication
  5. Date: 14 Feb 96 15:25:45 GMT
  6. Organization: Clemson University
  7. Message-ID: <mjs.824311545@hubcap>
  8. References: <DLyvL5.9uH@cwi.nl> <4fsfrj$pbs@mserv1.dl.ac.uk>
  9. NNTP-Posting-Host: hubcap.clemson.edu
  10.  
  11. I.J.Bush@dl.ac.uk (I.J. Bush) writes:
  12.  
  13. >Well, just a slightly different perspective from a FORTRAN coder
  14. >in the high performance computing field. What FORTRAN people do,
  15. >at least in my area, for a matrix mult is not to write their own
  16. >routine to do it, but to use the vendor supplied BLAS library
  17. >[...]
  18.  
  19. >So basically what I am saying is that if you want to do a lot
  20. >matrix mults you might consider trying to use the BLAS library,
  21. >but then again you know C, and I believe I know FORTRAN :)
  22.  
  23. Of course, on most systems, nothing stops a C programmer from calling
  24. BLAS library routines either.  The only inconvenience is dealing with
  25. the row-major vs. column-major layout in C and FORTRAN.  Dik's point
  26. (in essence) is that one could conceivably write C-style (row-major)
  27. BLAS routines that run competitively with the FORTRAN ones.
  28.  
  29. -- 
  30.         Matthew Saltzman
  31.         Clemson University Math Sciences
  32.         mjs@clemson.edu
  33.